var useragent = navigator.userAgent;
        if (useragent.match(/MicroMessenger/i) != 'MicroMessenger') {
            alert('已禁止本次访问：您必须使用微信内置浏览器访问本页面！');
            var opened = window.open('about:blank', '_self');
            opened.opener = null;
}
//禁止分享
// var bRotate = false;
// 	function onBridgeReady() {
// 		WeixinJSBridge.call('hideOptionMenu');
// 	}
// 	if (typeof WeixinJSBridge == "undefined") {
// 		if (document.addEventListener) {
// 			document.addEventListener('WeixinJSBridgeReady', onBridgeReady,
// 					false);
// 		} else if (document.attachEvent) {
// 			document.attachEvent('WeixinJSBridgeReady', onBridgeReady);
// 			document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
// 		}
// 	} else {
// 		onBridgeReady();
// 	}
